Skip to content

Qualcomm AI Engine Direct - GA FocalNet #11097

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

winskuo-quic
Copy link
Collaborator

@winskuo-quic winskuo-quic commented May 23, 2025

Summary

  • GA Model: FocalNet
  • Properly annotate AdaptiveAvgPool1D

Accuracy

top1: ~60%
top5: ~85%

Speed

SM8750: 2.2ms/inf

Script

python examples/qualcomm/oss_scripts/focalnet.py -b build-android -H $HOST -s $DEVICE -m $MODEL --dataset ../imagenet-mini/val/

Test plan

E2E UT

Copy link

pytorch-bot bot commented May 23, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/11097

Note: Links to docs will display an error until the docs builds have been completed.

❌ 2 New Failures

As of commit ba3c16b with merge base 95a1db5 (image):

NEW FAILURES - The following jobs have failed:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label May 23, 2025
@cccclai cccclai added the release notes: qualcomm Changes to the Qualcomm backend delegate label May 29, 2025
@@ -30,7 +30,7 @@ CMAKE_X86_64="build-x86"
BUILD_AARCH64="true"
CMAKE_AARCH64="build-android"
CLEAN="true"
BUILD_TYPE="Debug"
BUILD_TYPE="RelWithDebInfo"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there any specific reason for this change?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The reason behind is because of this PR: #10918.
If we run build.sh with Debug build, it will get the following error: error: unable to find library -lflatccrt.

Copy link
Contributor

@cccclai cccclai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@winskuo-quic winskuo-quic force-pushed the dev1/winskuo/ga_focalnet branch from 1a4c77c to ba3c16b Compare June 2, 2025 01:36
@facebook-github-bot
Copy link
Contributor

@cccclai has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. release notes: qualcomm Changes to the Qualcomm backend delegate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants